<?php 

//
//   HTML-Kit Plugins API 1.0.50
//   Copyright (C) 1998-2002, Chami.com
//   All Rights Reserved.
// 
// 
//   HKPAPI Reference:
//     http://www.chami.com/html-kit/devref/
// 
//   HTML-Kit Developer Tools:
//     http://www.chami.com/html-kit/devtools/
// 
//   Sample Plugins:
//     http://www.chami.com/html-kit/plugins/#devfiles
// 



class HKPCore
{
  var $l_v;


  
  
  // Constants 
  
  var $hkp_c_HKPAPI_VER                      = '1.0.50';
  var $hkp_c_URL_HOME                        = 'http://www.chami.com/html-kit/';
  var $hkp_c_URL_DOWNLOAD                    = 'http://www.chami.com/html-kit/plugins/';
  
  var $hkp_c_str_TRUE                        = '1';
  var $hkp_c_str_FALSE                       = '0';
  var $hkp_c_TRUE                            = 1;
  var $hkp_c_FALSE                           = 0;
  
  var $hkp_c_OLEObj_HKPCore                  = 'htmlkit.HTMLKitPluginsCore';
  
  var $hkp_c_CaseDefault                     = 0;
  var $hkp_c_CaseLower                       = 1;
  var $hkp_c_CaseUpper                       = 2;
  
  var $hkp_c_QuoteDefault                    = 0;
  var $hkp_c_QuoteSingle                     = 1;
  var $hkp_c_QuoteDouble                     = 2;
  
  var $hkp_c_ColorDefault                    = 0;
  var $hkp_c_ColorHex6                       = 1;
  var $hkp_c_ColorName                       = 2;
  var $hkp_c_ColorHex3                       = 3;
  var $hkp_c_ColorRGB                        = 4;
  var $hkp_c_ColorRGBPercent                 = 5;
  
  var $hkp_c_ETETDefault                     = 0;
  var $hkp_c_ETETInclSpc                     = 1;
  var $hkp_c_ETETExclSpc                     = 2;
  
  var $hkp_c_EqualDefault                    = 0;
  var $hkp_c_EqualSpaceNone                  = 1;
  var $hkp_c_EqualSpaceLeft                  = 2;
  var $hkp_c_EqualSpaceRight                 = 3;
  var $hkp_c_EqualSpaceBoth                  = 4;
  
  var $hkp_c_SpaceOptDefault                 = 0;
  var $hkp_c_SpaceOptInclude                 = 1;
  var $hkp_c_SpaceOptExclude                 = 2;
  
  var $hkp_c_NewLineOptDefault               = 0;
  var $hkp_c_NewLineOptInclude               = 1;
  var $hkp_c_NewLineOptExclude               = 2;
  
  var $hkp_c_FormatTag_Token                 = '^';
  var $hkp_c_FormatTag_NormalText            = 'N';
  var $hkp_c_FormatTag_Tag                   = 'T';
  var $hkp_c_FormatTag_Attr                  = 'A';
  var $hkp_c_FormatTag_Value                 = 'V';
  var $hkp_c_FormatTag_Entity                = 'E';
  var $hkp_c_FormatTag_Event                 = 'S';
  var $hkp_c_FormatTag_Property              = 'P';
  var $hkp_c_FormatTag_Color                 = 'C';
  var $hkp_c_FormatTag_ColorExt              = 'c';
  var $hkp_c_FormatTag_QuoteReq              = 'Q';
  var $hkp_c_FormatTag_QuoteOpt              = 'q';
  var $hkp_c_FormatTag_ETETReq               = 'Z';
  var $hkp_c_FormatTag_ETETOpt               = 'z';
  var $hkp_c_FormatTag_Equal                 = 'U';
  var $hkp_c_FormatTag_SpaceOpt              = 'o';
  var $hkp_c_FormatTag_NewLineOpt            = 'l';
  
  var $hkp_c_str_DefaultQuote                = '"';
  var $hkp_c_chr_DefaultQuote                = '"';
  
  var $hkp_c_str_ETETInclSpc                 = ' /';
  var $hkp_c_str_ETETExclSpc                 = '/';
  var $hkp_c_str_DefaultETET                 = ' /';
  
  var $hkp_c_str_DefaultEqual                = '=';
  var $hkp_c_chr_DefaultEqual                = '=';
  
  var $hkp_c_str_DefaultSpaceOpt             = ' ';
  var $hkp_c_chr_DefaultSpaceOpt             = ' ';
  
  var $hkp_c_str_DefaultNewLineOpt           = '\n';
  var $hkp_c_chr_DefaultNewLineOpt           = '\n';
  
  
  // Section names 
  
  var $hkp_c_Section_Objects                 = 'Objects';
  var $hkp_c_Section_Validators              = 'Validators';
  var $hkp_c_Section_Converters              = 'Converters';
  var $hkp_c_Section_Tables                  = 'Tables';
  var $hkp_c_Section_Forms                   = 'Forms';
  var $hkp_c_Section_Formats                 = 'Formats';
  var $hkp_c_Section_Documents               = 'Document';
  var $hkp_c_Section_Style                   = 'Style';
  var $hkp_c_Section_Tools                   = 'Tools';
  var $hkp_c_Section_Text                    = 'Text';
  var $hkp_c_Section_Common                  = 'Common';
  var $hkp_c_Section_Invisibles              = 'Invisibles';
  var $hkp_c_Section_Online                  = 'Online';
  var $hkp_c_Section_BatchActions            = 'Batch Actions';
  
  
  // Parameters 
  
  var $hkp_NAME                              = 'NAME';
  var $hkp_VERSION                           = 'VERSION';
  var $hkp_SECTION                           = 'SECTION';
  
  
  var $hkp_DESCRIPTION                       = 'DESCRIPTION';
  var $hkp_HINT                              = 'HINT';
  var $hkp_ICON_LARGE                        = 'ICON_LARGE';
  var $hkp_ICON_SMALL                        = 'ICON_SMALL';
  var $hkp_COPYRIGHT_SHORT                   = 'COPYRIGHT_SHORT';
  var $hkp_COPYRIGHT_LONG                    = 'COPYRIGHT_LONG';
  var $hkp_LICENSE_TYPE                      = 'LICENSE_TYPE';
  var $hkp_LICENSE_DESCRIPTION               = 'LICENSE_DESCRIPTION';
  var $hkp_LICENSE_URL                       = 'LICENSE_URL';
  var $hkp_REGISTRATION_TYPE                 = 'REGISTRATION_TYPE';
  var $hkp_REGISTRATION_DESCRIPTION          = 'REGISTRATION_DESCRIPTION';
  var $hkp_REGISTRATION_FEE                  = 'REGISTRATION_FEE';
  var $hkp_REGISTRATION_URL                  = 'REGISTRATION_URL';
  var $hkp_URL_HELP                          = 'URL_HELP';
  
  
  var $hkp_UPID                              = 'UPID';
  var $hkp_HELP_FILE                         = 'HELP_FILE';
  var $hkp_HELP_CONTEXT                      = 'HELP_CONTEXT';
  var $hkp_HOTKEY                            = 'HOTKEY';
  var $hkp_ICON_CAPTION                      = 'ICON_CAPTION';
  var $hkp_ENABLED                           = 'ENABLED';
  var $hkp_MENU_CAPTION                      = 'MENU_CAPTION';
  var $hkp_AUTHOR                            = 'AUTHOR';
  var $hkp_PHONE                             = 'PHONE';
  var $hkp_COMPANY                           = 'COMPANY';
  var $hkp_MAILING_ADDRESS                   = 'MAILING_ADDRESS';
  var $hkp_EMAIL                             = 'EMAIL';
  var $hkp_URL_HOME                          = 'URL_HOME';
  var $hkp_URL_DOWNLOAD                      = 'URL_DOWNLOAD';
  var $hkp_MENU_ITEM1                        = 'MENU_ITEM1';
  var $hkp_MENU_ITEM2                        = 'MENU_ITEM2';
  var $hkp_MENU_ITEM3                        = 'MENU_ITEM3';
  var $hkp_MENU_ITEM4                        = 'MENU_ITEM4';
  var $hkp_MENU_ITEM5                        = 'MENU_ITEM5';
  var $hkp_DROPDOWN_ITEM                     = 'DROPDOWN_ITEM';
  var $hkp_DROPDOWN_ITEM_HINT                = 'DROPDOWN_ITEM_HINT';
  var $hkp_DROPDOWN_ITEM_ICON                = 'DROPDOWN_ITEM_ICON';
  var $hkp_DROPDOWN_ITEM_PHRASE              = 'DROPDOWN_ITEM_PHRASE';
  var $hkp_ARGV1                             = 'ARGV1';
  var $hkp_ARGV2                             = 'ARGV2';
  var $hkp_ARGV3                             = 'ARGV3';
  var $hkp_ARGV4                             = 'ARGV4';
  var $hkp_ARGV5                             = 'ARGV5';
  var $hkp_EVENT                             = 'EVENT';
  var $hkp_COMMAND_BUILTIN                   = 'COMMAND_BUILTIN';
  var $hkp_HKPCORE_PLUGIN_INVOKE_MODE_ENV    = 'HKPCORE_PLUGIN_INVOKE_MODE_ENV';
  
  var $hkp_MODE_CONSOLE                      = 'MODE_CONSOLE';
  var $hkp_MODE_SHOW_STATUS                  = 'MODE_SHOW_STATUS';
  var $hkp_MODE_IN_TEXT_FULL                 = 'MODE_IN_TEXT_FULL';
  var $hkp_MODE_IN_TEXT_SELECTED             = 'MODE_IN_TEXT_SELECTED';
  var $hkp_MODE_IN_WORD_AT_CURSOR            = 'MODE_IN_WORD_AT_CURSOR';
  var $hkp_MODE_IN_TAG_AT_CURSOR             = 'MODE_IN_TAG_AT_CURSOR';
  var $hkp_MODE_IN_LINE_AT_CURSOR            = 'MODE_IN_LINE_AT_CURSOR';
  var $hkp_MODE_IN_FILE                      = 'MODE_IN_FILE';
  var $hkp_MODE_IN_FILE_EXT                  = 'MODE_IN_FILE_EXT';
  var $hkp_MODE_IN_FILE_DELETE               = 'MODE_IN_FILE_DELETE';
  var $hkp_MODE_MOVE_TO_CARET                = 'MODE_MOVE_TO_CARET';
  var $hkp_MODE_PREPROCESS                   = 'MODE_PREPROCESS';
  var $hkp_MODE_SAVE_FIRST                   = 'MODE_SAVE_FIRST';
  var $hkp_MODE_DEBUG_PLUGIN                 = 'MODE_DEBUG_PLUGIN';
  var $hkp_MODE_ADD_MENU_SHORTCUTS           = 'MODE_ADD_MENU_SHORTCUTS';
  var $hkp_MODE_PREPROCESS_FORMAT_TAGS       = 'MODE_PREPROCESS_FORMAT_TAGS';
  var $hkp_MODE_BEGIN_GROUP                  = 'MODE_BEGIN_GROUP';
  var $hkp_MODE_END_GROUP                    = 'MODE_END_GROUP';
  var $hkp_MODE_APPEARANCE_ICONS             = 'MODE_APPEARANCE_ICONS';
  var $hkp_MODE_EDITOR_REQUIRED              = 'MODE_EDITOR_REQUIRED';
  var $hkp_MODE_FOCUS_EDITOR                 = 'MODE_FOCUS_EDITOR';
  var $hkp_MODE_EGG                          = 'MODE_EGG';
  var $hkp_MODE_INFO_KEYWORDS                = 'MODE_INFO_KEYWORDS';
  
  var $hkp_c_Button_Event_OnClick            = 1;
  var $hkp_c_Menu_Event_OnClick              = 10;
  
  var $hkp_BUTTON_VISIBLE                    = 'BUTTON_VISIBLE';
  
  var $hkp_PREVIEW_EVENT_ONPREVIEW           = 'PREVIEW_EVENT_ONPREVIEW';
  var $hkp_c_Preview_Event_OnPreview         = 1100;
  var $hkp_PREVIEW_OUTPUT_URL                = 'PREVIEW_OUTPUT_URL';
  var $hkp_PREVIEW_OUTPUT_CONTENT            = 'PREVIEW_OUTPUT_CONTENT';
  var $hkp_MODE_PREVIEW_PASS_TO_NEXT         = 'MODE_PREVIEW_PASS_TO_NEXT';
  var $hkp_MODE_PREVIEW_IN_URL               = 'MODE_PREVIEW_IN_URL';
  var $hkp_MODE_PREVIEW_IN_CONTENT           = 'MODE_PREVIEW_IN_CONTENT';
  var $hkp_PREVIEW_IN_URL                    = 'PREVIEW_IN_URL';
  var $hkp_PREVIEW_IN_CONTENT                = 'PREVIEW_IN_CONTENT';
  
  var $hkp_COMMANDPROMPT_EVENT_ONINVOKE      = 'COMMANDPROMPT_EVENT_ONINVOKE';
  var $hkp_c_CommandPrompt_Event_OnInvoke    = 1400;
  var $hkp_COMMANDPROMPT_HINT                = 'COMMANDPROMPT_HINT';
  var $hkp_COMMANDPROMPT_HELP                = 'COMMANDPROMPT_HELP';
  var $hkp_COMMANDPROMPT_COMMANDS            = 'COMMANDPROMPT_COMMANDS';
  var $hkp_COMMANDPROMPT_OUTPUT              = 'COMMANDPROMPT_OUTPUT';
  var $hkp_COMMANDPROMPT_HANDLED             = 'COMMANDPROMPT_HANDLED';
  var $hkp_CAPABILITY_COMMANDPROMPT          = 'CAPABILITY_COMMANDPROMPT';
  var $hkp_COMMANDPROMPT_IN_CMDLINE_FULL     = 'COMMANDPROMPT_IN_CMDLINE_FULL';
  var $hkp_COMMANDPROMPT_IN_CMDLINE_COMMAND  = 'COMMANDPROMPT_IN_CMDLINE_COMMAND';
  var $hkp_COMMANDPROMPT_IN_CMDLINE_PARAMS   = 'COMMANDPROMPT_IN_CMDLINE_PARAMS';
  var $hkp_COMMANDPROMPT_IN_CMDLINE_PARAM    = 'COMMANDPROMPT_IN_CMDLINE_PARAM';
  
  var $hkp_TEMPLATEWIZARD_CAPTION            = 'TEMPLATEWIZARD_CAPTION';
  var $hkp_TEMPLATEWIZARD_HINT               = 'TEMPLATEWIZARD_HINT';
  var $hkp_TEMPLATEWIZARD_EVENT_ONINVOKE     = 'TEMPLATEWIZARD_EVENT_ONINVOKE';
  var $hkp_c_TemplateWizard_Event_OnInvoke   = 1500;
  var $hkp_CAPABILITY_TEMPLATEWIZARD         = 'CAPABILITY_TEMPLATEWIZARD';
  
  var $hkp_CAPABILITY_AUTORESIZINGMENU       = 'CAPABILITY_AUTORESIZINGMENU';
  
  var $hkp_BUFFER_CAPTION                    = 'BUFFER_CAPTION';
  var $hkp_BUFFER_HINT                       = 'BUFFER_HINT';
  var $hkp_BUFFER_EVENT_ONINVOKE             = 'BUFFER_EVENT_ONINVOKE';
  var $hkp_BUFFER_EVENT_ONSTART              = 'BUFFER_EVENT_ONSTART';
  var $hkp_BUFFER_EVENT_ONEND                = 'BUFFER_EVENT_ONEND';
  var $hkp_BUFFER_EVENT_ONENTERFOLDER        = 'BUFFER_EVENT_ONENTERFOLDER';
  var $hkp_BUFFER_EVENT_ONEXITFOLDER         = 'BUFFER_EVENT_ONEXITFOLDER';
  var $hkp_c_Buffer_Event_OnInvoke           = 1600;
  var $hkp_c_Buffer_Event_OnStart            = 1610;
  var $hkp_c_Buffer_Event_OnEnd              = 1611;
  var $hkp_c_Buffer_Event_OnEnterFolder      = 1620;
  var $hkp_c_Buffer_Event_OnExitFolder       = 1621;
  var $hkp_CAPABILITY_BUFFER                 = 'CAPABILITY_BUFFER';
  var $hkp_MODE_BUFFER_IN_FILE               = 'MODE_BUFFER_IN_FILE';
  var $hkp_MODE_BUFFER_IN_CONTENT            = 'MODE_BUFFER_IN_CONTENT';
  var $hkp_MODE_BUFFER_VISIBLE_MAINMENU      = 'MODE_BUFFER_VISIBLE_MAINMENU';
  var $hkp_MODE_BUFFER_VISIBLE_WORKSPACE     = 'MODE_BUFFER_VISIBLE_WORKSPACE';
  var $hkp_MODE_BUFFER_ACCESS_READ           = 'MODE_BUFFER_ACCESS_READ';
  var $hkp_MODE_BUFFER_ACCESS_WRITE          = 'MODE_BUFFER_ACCESS_WRITE';
  var $hkp_MODE_BUFFER_ACCESS_CREATE         = 'MODE_BUFFER_ACCESS_CREATE';
  var $hkp_MODE_BUFFER_CACHE_PLUGIN_DISABLE  = 'MODE_BUFFER_CACHE_PLUGIN_DISABLE';
  var $hkp_MODE_BUFFER_INFO_PLUGIN_FULL      = 'MODE_BUFFER_INFO_PLUGIN_FULL';
  var $hkp_MODE_BUFFER_INFO_USER_HIDE        = 'MODE_BUFFER_INFO_USER_HIDE';
  var $hkp_MODE_BUFFER_FILTER_REGEX_EXPR     = 'MODE_BUFFER_FILTER_REGEX_EXPR';
  var $hkp_MODE_BUFFER_FILTER_REGEX_OPT      = 'MODE_BUFFER_FILTER_REGEX_OPT';
  var $hkp_MODE_BUFFER_FILETYPES_INCLUDED    = 'MODE_BUFFER_FILETYPES_INCLUDED';
  var $hkp_MODE_BUFFER_FILETYPES_EXCLUDED    = 'MODE_BUFFER_FILETYPES_EXCLUDED';
  var $hkp_BUFFER_IN_CONTENT                 = 'BUFFER_IN_CONTENT';
  var $hkp_BUFFER_IN_FILE                    = 'BUFFER_IN_FILE';
  var $hkp_BUFFER_IN_PATH                    = 'BUFFER_IN_PATH';
  var $hkp_BUFFER_IN_DEPTH                   = 'BUFFER_IN_DEPTH';
  var $hkp_BUFFER_IN_PARAM1                  = 'BUFFER_IN_PARAM1';
  var $hkp_BUFFER_IN_PARAM2                  = 'BUFFER_IN_PARAM2';
  var $hkp_BUFFER_IN_PARAM3                  = 'BUFFER_IN_PARAM3';
  var $hkp_BUFFER_IN_PARAM4                  = 'BUFFER_IN_PARAM4';
  var $hkp_BUFFER_PARAM_LABEL1               = 'BUFFER_PARAM_LABEL1';
  var $hkp_BUFFER_PARAM_LABEL2               = 'BUFFER_PARAM_LABEL2';
  var $hkp_BUFFER_PARAM_LABEL3               = 'BUFFER_PARAM_LABEL3';
  var $hkp_BUFFER_PARAM_LABEL4               = 'BUFFER_PARAM_LABEL4';
  var $hkp_BUFFER_PARAM_VALUE1               = 'BUFFER_PARAM_VALUE1';
  var $hkp_BUFFER_PARAM_VALUE2               = 'BUFFER_PARAM_VALUE2';
  var $hkp_BUFFER_PARAM_VALUE3               = 'BUFFER_PARAM_VALUE3';
  var $hkp_BUFFER_PARAM_VALUE4               = 'BUFFER_PARAM_VALUE4';
  var $hkp_BUFFER_PARAM_HINT1                = 'BUFFER_PARAM_HINT1';
  var $hkp_BUFFER_PARAM_HINT2                = 'BUFFER_PARAM_HINT2';
  var $hkp_BUFFER_PARAM_HINT3                = 'BUFFER_PARAM_HINT3';
  var $hkp_BUFFER_PARAM_HINT4                = 'BUFFER_PARAM_HINT4';
  var $hkp_MODE_SESSION_ENABLE               = 'MODE_SESSION_ENABLE';
  var $hkp_BUFFER_REPORT_OUTPUT              = 'BUFFER_REPORT_OUTPUT';
  var $hkp_SESSION_VAR_COUNT                 = 'SESSION_VAR_COUNT';
  var $hkp_SESSION_VAR1                      = 'SESSION_VAR1';
  var $hkp_SESSION_VAR2                      = 'SESSION_VAR2';
  var $hkp_SESSION_VAR3                      = 'SESSION_VAR3';
  var $hkp_SESSION_VAR4                      = 'SESSION_VAR4';
  var $hkp_SESSION_FRIENDS                   = 'SESSION_FRIENDS';
  
  var $hkp_DRAGDROP_ACCEPT_FILEMASKS         = 'DRAGDROP_ACCEPT_FILEMASKS';
  var $hkp_DRAGDROP_ACCEPT_MODES             = 'DRAGDROP_ACCEPT_MODES';
  var $hkp_MODE_DRAGDROP_IN_SOURCE_FILE_LOCAL = 'MODE_DRAGDROP_IN_SOURCE_FILE_LOCAL';
  var $hkp_DRAGDROP_EVENT_ONDROP             = 'DRAGDROP_EVENT_ONDROP';
  var $hkp_DRAGDROP_OUTPUT                   = 'DRAGDROP_OUTPUT';
  var $hkp_DRAGDROP_IN_MODE                  = 'DRAGDROP_IN_MODE';
  var $hkp_DRAGDROP_IN_SOURCE_FILE_PATH_ABS  = 'DRAGDROP_IN_SOURCE_FILE_PATH_ABS';
  var $hkp_DRAGDROP_IN_SOURCE_FILE_PATH_REL  = 'DRAGDROP_IN_SOURCE_FILE_PATH_REL';
  var $hkp_DRAGDROP_IN_SOURCE_FILE_NAME_EXT  = 'DRAGDROP_IN_SOURCE_FILE_NAME_EXT';
  var $hkp_DRAGDROP_IN_SOURCE_FILE_NAME_FULL = 'DRAGDROP_IN_SOURCE_FILE_NAME_FULL';
  var $hkp_DRAGDROP_IN_SOURCE_PATH_ABS       = 'DRAGDROP_IN_SOURCE_PATH_ABS';
  var $hkp_DRAGDROP_IN_SOURCE_PATH_REL       = 'DRAGDROP_IN_SOURCE_PATH_REL';
  var $hkp_DRAGDROP_IN_SOURCE_FILE_LOCAL     = 'DRAGDROP_IN_SOURCE_FILE_LOCAL';
  
  var $hkp_c_DragDrop_Event_OnDrop           = 1700;
  var $hkp_c_DragDrop_Mode_Workspace         = 1;
  
  var $hkp_CAPABILITY_DRAGDROP               = 'CAPABILITY_DRAGDROP';
  
  var $hkp_RECALL_EVENT_ONINVOKE             = 'RECALL_EVENT_ONINVOKE';
  var $hkp_RECALL_IN_DATA1                   = 'RECALL_IN_DATA1';
  var $hkp_RECALL_IN_DATA2                   = 'RECALL_IN_DATA2';
  var $hkp_c_Recall_Event_OnInvoke           = 1800;
  var $hkp_CAPABILITY_RECALL                 = 'CAPABILITY_RECALL';
  
  var $hkp_MODE_UNINSTALL                    = 'MODE_UNINSTALL';
  var $hkp_UNINSTALL_FILE_ABS                = 'UNINSTALL_FILE_ABS';
  var $hkp_UNINSTALL_FILE_REL                = 'UNINSTALL_FILE_REL';
  var $hkp_UNINSTALL_FILE_REL_PLUGINS        = 'UNINSTALL_FILE_REL_PLUGINS';
  var $hkp_UNINSTALL_FILE_REL_PLUGINS_CONFIG = 'UNINSTALL_FILE_REL_PLUGINS_CONFIG';
  var $hkp_UNINSTALL_FILE_REL_PLUGINS_BIN    = 'UNINSTALL_FILE_REL_PLUGINS_BIN';
  var $hkp_UNINSTALL_FILE_REL_PLUGINS_LIB    = 'UNINSTALL_FILE_REL_PLUGINS_LIB';
  var $hkp_UNINSTALL_DIR_ABS                 = 'UNINSTALL_DIR_ABS';
  var $hkp_UNINSTALL_DIR_REL_PLUGINS_CONFIG  = 'UNINSTALL_DIR_REL_PLUGINS_CONFIG';
  var $hkp_UNINSTALL_REG_ABS                 = 'UNINSTALL_REG_ABS';
  var $hkp_UNINSTALL_REG_REL                 = 'UNINSTALL_REG_REL';
  var $hkp_UNINSTALL_EVENT_ONINVOKE          = 'UNINSTALL_EVENT_ONINVOKE';
  var $hkp_c_Uninstall_Event_OnInvoke        = 2000;
  var $hkp_CAPABILITY_UNINSTALL              = 'CAPABILITY_UNINSTALL';
  
  var $hkp_CAPABILITY_TEXTTOSPEECH           = 'CAPABILITY_TEXTTOSPEECH';
  var $hkp_CAPABILITY_SPEECHRECOGNITION      = 'CAPABILITY_SPEECHRECOGNITION';
  
  var $hkp_CONTEXTMENU_EDITOR_EVENT_ONINIT   = 'CONTEXTMENU_EDITOR_EVENT_ONINIT';
  var $hkp_CONTEXTMENU_EDITOR_EVENT_ONOPEN   = 'CONTEXTMENU_EDITOR_EVENT_ONOPEN';
  var $hkp_CONTEXTMENU_EDITOR_EVENT_ONCLOSE  = 'CONTEXTMENU_EDITOR_EVENT_ONCLOSE';
  var $hkp_CONTEXTMENU_EDITOR_EVENT_ONCLICK  = 'CONTEXTMENU_EDITOR_EVENT_ONCLICK';
  var $hkp_c_ContextMenu_Editor_Event_OnInit  = 1200;
  var $hkp_c_ContextMenu_Editor_Event_OnOpen  = 1201;
  var $hkp_c_ContextMenu_Editor_Event_OnClose = 1202;
  var $hkp_c_ContextMenu_Editor_Event_OnClick = 1203;
  var $hkp_CONTEXTMENU_EDITOR_VISIBLE        = 'CONTEXTMENU_EDITOR_VISIBLE';
  var $hkp_CONTEXTMENU_EDITOR_ENABLED        = 'CONTEXTMENU_EDITOR_ENABLED';
  var $hkp_CONTEXTMENU_EDITOR_SECTION        = 'CONTEXTMENU_EDITOR_SECTION';
  var $hkp_CONTEXTMENU_EDITOR_HINT           = 'CONTEXTMENU_EDITOR_HINT';
  var $hkp_CONTEXTMENU_EDITOR_HINT_INIT      = 'CONTEXTMENU_EDITOR_HINT_INIT';
  var $hkp_CONTEXTMENU_EDITOR_HINT_QUIT      = 'CONTEXTMENU_EDITOR_HINT_QUIT';
  var $hkp_CONTEXTMENU_EDITOR_ICONINDEX      = 'CONTEXTMENU_EDITOR_ICONINDEX';
  var $hkp_CONTEXTMENU_EDITOR_ITEM           = 'CONTEXTMENU_EDITOR_ITEM';
  var $hkp_CONTEXTMENU_EDITOR_ITEM_HINT      = 'CONTEXTMENU_EDITOR_ITEM_HINT';
  var $hkp_CONTEXTMENU_EDITOR_ITEM_DATA      = 'CONTEXTMENU_EDITOR_ITEM_DATA';
  var $hkp_CONTEXTMENU_EDITOR_ITEM_ICONINDEX = 'CONTEXTMENU_EDITOR_ITEM_ICONINDEX';
  var $hkp_CONTEXTMENU_EDITOR_ITEM_ENABLED   = 'CONTEXTMENU_EDITOR_ITEM_ENABLED';
  var $hkp_MODE_CONTEXTMENU_EDITOR_PRELOAD   = 'MODE_CONTEXTMENU_EDITOR_PRELOAD';
  
  var $hkp_CAPABILITY_CONTEXTMENU_EDITOR     = 'CAPABILITY_CONTEXTMENU_EDITOR';
  var $hkp_CAPABILITY_PREVIEW_DEFAULT        = 'CAPABILITY_PREVIEW_DEFAULT';
  
  var $hkp_ICON_INDEX                        = 'ICON_INDEX';
  var $hkp_ICON_SHARED_INDEX                 = 'ICON_SHARED_INDEX';
  
  var $hkp_LABEL_VISIBLE                     = 'LABEL_VISIBLE';
  var $hkp_LABEL_WIDTH                       = 'LABEL_WIDTH';
  var $hkp_LABEL_WIDTH_CHAR                  = 'LABEL_WIDTH_CHAR';
  var $hkp_LABEL_HINT                        = 'LABEL_HINT';
  var $hkp_LABEL_TEXT                        = 'LABEL_TEXT';
  var $hkp_LABEL_ALIGNMENT                   = 'LABEL_ALIGNMENT';
  var $hkp_LABEL_STYLE                       = 'LABEL_STYLE';
  var $hkp_LABEL_DIRTY                       = 'LABEL_DIRTY';
  var $hkp_LABEL_HANDLE                      = 'LABEL_HANDLE';
  var $hkp_LABEL_EVENT_ONCLICK               = 'LABEL_EVENT_ONCLICK';
  var $hkp_LABEL_EVENT_ONDBLCLICK            = 'LABEL_EVENT_ONDBLCLICK';
  var $hkp_LABEL_EVENT_ONMOUSEDOWN           = 'LABEL_EVENT_ONMOUSEDOWN';
  
  var $hkp_c_Label_Event_OnClick             = 50;
  var $hkp_c_Label_Event_OnDblClick          = 51;
  var $hkp_c_Label_Event_OnMouseDown         = 52;
  var $hkp_c_Label_Alignment_Left            = 95;
  var $hkp_c_Label_Alignment_Center          = 96;
  var $hkp_c_Label_Alignment_Right           = 97;
  var $hkp_c_Label_GetData                   = 98;
  var $hkp_c_Label_SetData                   = 99;
  
  var $hkp_COMBOBOX_VISIBLE                  = 'COMBOBOX_VISIBLE';
  var $hkp_COMBOBOX_WIDTH                    = 'COMBOBOX_WIDTH';
  var $hkp_COMBOBOX_WIDTH_CHAR               = 'COMBOBOX_WIDTH_CHAR';
  var $hkp_COMBOBOX_DROPDOWN_COUNT           = 'COMBOBOX_DROPDOWN_COUNT';
  var $hkp_COMBOBOX_HINT                     = 'COMBOBOX_HINT';
  var $hkp_COMBOBOX_STYLE                    = 'COMBOBOX_STYLE';
  var $hkp_COMBOBOX_SORTED                   = 'COMBOBOX_SORTED';
  var $hkp_COMBOBOX_TEXT                     = 'COMBOBOX_TEXT';
  var $hkp_COMBOBOX_CHAR_MAX                 = 'COMBOBOX_CHAR_MAX';
  var $hkp_COMBOBOX_DIRTY                    = 'COMBOBOX_DIRTY';
  var $hkp_COMBOBOX_HANDLE                   = 'COMBOBOX_HANDLE';
  var $hkp_COMBOBOX_ITEMS_GET                = 'COMBOBOX_ITEMS_GET';
  var $hkp_COMBOBOX_ITEMS_COUNT              = 'COMBOBOX_ITEMS_COUNT';
  var $hkp_COMBOBOX_ITEMS_CURR_INDEX         = 'COMBOBOX_ITEMS_CURR_INDEX';
  var $hkp_COMBOBOX_ITEMS_CURR_TEXT          = 'COMBOBOX_ITEMS_CURR_TEXT';
  var $hkp_COMBOBOX_ITEMS_CURR_DATA          = 'COMBOBOX_ITEMS_CURR_DATA';
  var $hkp_COMBOBOX_ITEMS_DELETE_ALL         = 'COMBOBOX_ITEMS_DELETE_ALL';
  var $hkp_COMBOBOX_ITEMS_INSERT_TOP         = 'COMBOBOX_ITEMS_INSERT_TOP';
  var $hkp_COMBOBOX_ITEMS_IGNORE_DUPLICATES  = 'COMBOBOX_ITEMS_IGNORE_DUPLICATES';
  var $hkp_COMBOBOX_ITEM                     = 'COMBOBOX_ITEM';
  var $hkp_COMBOBOX_ITEM_DATA                = 'COMBOBOX_ITEM_DATA';
  var $hkp_COMBOBOX_EVENT_ONCHANGE           = 'COMBOBOX_EVENT_ONCHANGE';
  var $hkp_COMBOBOX_EVENT_ONDROPDOWN         = 'COMBOBOX_EVENT_ONDROPDOWN';
  var $hkp_COMBOBOX_EVENT_ONCLICK            = 'COMBOBOX_EVENT_ONCLICK';
  var $hkp_COMBOBOX_EVENT_ONKEYPRESS         = 'COMBOBOX_EVENT_ONKEYPRESS';
  var $hkp_COMBOBOX_EVENT_ONMOUSEDOWN        = 'COMBOBOX_EVENT_ONMOUSEDOWN';
  var $hkp_COMBOBOX_KEYPRESS_FILTER          = 'COMBOBOX_KEYPRESS_FILTER';
  
  var $hkp_c_ComboBox_Event_OnChange         = 100;
  var $hkp_c_ComboBox_Event_OnDropDown       = 101;
  var $hkp_c_ComboBox_Event_OnClick          = 102;
  var $hkp_c_ComboBox_Event_OnKeyPress       = 103;
  var $hkp_c_ComboBox_Event_OnMouseDown      = 104;
  var $hkp_c_ComboBox_GetData                = 145;
  var $hkp_c_ComboBox_SetData                = 146;
  var $hkp_c_ComboBox_Style_DropDown         = 147;
  var $hkp_c_ComboBox_Style_DropDownList     = 148;
  var $hkp_c_ComboBox_Style_Simple           = 149;
  
  var $hkp_EDITFIELD_VISIBLE                 = 'EDITFIELD_VISIBLE';
  var $hkp_EDITFIELD_WIDTH                   = 'EDITFIELD_WIDTH';
  var $hkp_EDITFIELD_WIDTH_CHAR              = 'EDITFIELD_WIDTH_CHAR';
  var $hkp_EDITFIELD_HINT                    = 'EDITFIELD_HINT';
  var $hkp_EDITFIELD_TEXT                    = 'EDITFIELD_TEXT';
  var $hkp_EDITFIELD_CHAR_MAX                = 'EDITFIELD_CHAR_MAX';
  var $hkp_EDITFIELD_DIRTY                   = 'EDITFIELD_DIRTY';
  var $hkp_EDITFIELD_HANDLE                  = 'EDITFIELD_HANDLE';
  var $hkp_EDITFIELD_EVENT_ONCHANGE          = 'EDITFIELD_EVENT_ONCHANGE';
  var $hkp_EDITFIELD_EVENT_ONKEYPRESS        = 'EDITFIELD_EVENT_ONKEYPRESS';
  var $hkp_EDITFIELD_EVENT_ONMOUSEDOWN       = 'EDITFIELD_EVENT_ONMOUSEDOWN';
  var $hkp_EDITFIELD_KEYPRESS_FILTER         = 'EDITFIELD_KEYPRESS_FILTER';
  
  var $hkp_c_EditField_Event_OnChange        = 150;
  var $hkp_c_EditField_Event_OnKeyPress      = 151;
  var $hkp_c_EditField_Event_OnMouseDown     = 152;
  var $hkp_c_EditField_GetData               = 198;
  var $hkp_c_EditField_SetData               = 199;
  
  var $hkp_c_MODE_ICON_RES                   = 0;
  var $hkp_c_MODE_ICON_DATA                  = 1;
  var $hkp_c_MODE_ICON_FILE                  = 2;
  var $hkp_c_MODE_ICON_BUILTIN               = 3;
  var $hkp_c_MODE_ICON_DRAW                  = 4;
  var $hkp_MODE_ICON                         = 'MODE_ICON';
  
  var $hkp_c_MODE_OUTPUT_DEFAULT             = 0;
  var $hkp_c_MODE_OUTPUT_CURRENTPOS          = 1;
  var $hkp_c_MODE_OUTPUT_SELECTION           = 2;
  var $hkp_c_MODE_OUTPUT_POPUP               = 3;
  var $hkp_c_MODE_OUTPUT_CURRENTWORD         = 4;
  var $hkp_c_MODE_OUTPUT_CURRENTTAG          = 5;
  var $hkp_c_MODE_OUTPUT_EDITOR              = 6;
  var $hkp_c_MODE_OUTPUT_EDITOR_NEW          = 7;
  var $hkp_c_MODE_OUTPUT_CURRENTLINE         = 8;
  var $hkp_MODE_OUTPUT                       = 'MODE_OUTPUT';
  
  var $hkp_c_MODE_PLUGIN_CACHE_NONE          = 0;
  var $hkp_c_MODE_PLUGIN_CACHE_ALL           = 1;
  var $hkp_MODE_PLUGIN_CACHE                 = 'MODE_PLUGIN_CACHE';
  
  var $hkp_PLUGIN_NAME                       = 'P_NAME';
  var $hkp_PLUGIN_ID                         = 'P_ID';
  var $hkp_PLUGIN_TAG                        = 'P_TAG';
  var $hkp_PLUGIN_FILE                       = 'PLUGIN_FILE';
  var $hkp_FILE_DISP_NAME                    = 'FILE_DISP_NAME';
  var $hkp_FILE_DISP_NAME_SHORT              = 'FILE_DISP_NAME_SHORT';
  var $hkp_FILE_NAME                         = 'FILE_NAME';
  var $hkp_FILE_NAME_SHORT                   = 'FILE_NAME_SHORT';
  var $hkp_FILE_MODIFIED                     = 'FILE_MODIFIED';
  var $hkp_INPUT                             = 'INPUT';
  var $hkp_INPUT_SELECTED                    = 'INPUT_SELECTION';
  var $hkp_INPUT_WORD_AT_CURSOR              = 'INPUT_WORD_AT_CURSOR';
  var $hkp_INPUT_TAG_AT_CURSOR               = 'INPUT_TAG_AT_CURSOR';
  var $hkp_INPUT_LINE_AT_CURSOR              = 'INPUT_LINE_AT_CURSOR';
  var $hkp_INPUT_FILE                        = 'INPUT_FILE';
  var $hkp_OUTPUT                            = 'OUTPUT';
  
  var $hkp_APPEARANCE_NAME                   = 'APPEARANCE_NAME';
  
  var $hkp_NAME_LONG                         = 'NAME_LONG';
  var $hkp_VER_MAJOR                         = 'VER_MAJOR';
  var $hkp_VER_MINOR                         = 'VER_MINOR';
  var $hkp_VER_RELEASE                       = 'VER_RELEASE';
  var $hkp_VER_BUILD                         = 'VER_BUILD';
  var $hkp_VER_TIMESTAMP                     = 'VER_TIMESTAMP';
  var $hkp_VER_TYPE                          = 'VER_TYPE';
  var $hkp_VER_RELEASE_ID                    = 'VER_RELEASE_ID';
  var $hkp_VER                               = 'VER';
  var $hkp_HKPAPI_VER                        = 'HKPAPI_VER';
  
  var $hkp_INCOMPATIBLE                      = 'INCOMPATIBLE';
  
  var $hkp_OWNER_WINDOW_HANDLE               = 'OWNER_WINDOW_HANDLE';
  var $hkp_EDITOR_WINDOW_HANDLE              = 'EDITOR_WINDOW_HANDLE';
  var $hkp_PROGRAM_HANDLE                    = 'PROGRAM_HANDLE';
  var $hkp_EDITOR_AVAILABLE                  = 'EDITOR_AVAILABLE';
  
  var $hkp_PREF_SHORT_MENUS                  = 'PREF_SHORT_MENUS';
  var $hkp_PREF_MENU_HEIGHT                  = 'PREF_MENU_HEIGHT';
  
  var $hkp_PREF_CASE_TAG                     = 'PREF_CASE_TAG';
  var $hkp_PREF_CASE_ATTR                    = 'PREF_CASE_ATTR';
  var $hkp_PREF_CASE_VALUE                   = 'PREF_CASE_VALUE';
  var $hkp_PREF_CASE_ENTITY                  = 'PREF_CASE_ENTITY';
  var $hkp_PREF_CASE_EVENT                   = 'PREF_CASE_EVENT';
  var $hkp_PREF_CASE_PROPERTY                = 'PREF_CASE_PROPERTY';
  var $hkp_PREF_FORMAT_COLOR                 = 'PREF_FORMAT_COLOR';
  var $hkp_PREF_FORMAT_QUOTE                 = 'PREF_FORMAT_QUOTE';
  var $hkp_PREF_FORMAT_QUOTE_SKIP_OPTIONAL   = 'PREF_FORMAT_QUOTE_SKIP_OPTIONAL';
  var $hkp_PREF_FORMAT_ETET                  = 'PREF_FORMAT_ETET';
  var $hkp_PREF_FORMAT_ETET_SKIP_OPTIONAL    = 'PREF_FORMAT_ETET_SKIP_OPTIONAL';
  var $hkp_PREF_FORMAT_EQUAL                 = 'PREF_FORMAT_EQUAL';
  var $hkp_PREF_FORMAT_SPACE                 = 'PREF_FORMAT_SPACE';
  var $hkp_PREF_FORMAT_NEWLINE               = 'PREF_FORMAT_NEWLINE';
  var $hkp_PREF_FORMAT_ALT                   = 'PREF_FORMAT_ALT';
  
  var $hkp_PREF_AUTHOR_NAME                  = 'PREF_AUTHOR_NAME';
  var $hkp_PREF_AUTHOR_COMPANY               = 'PREF_AUTHOR_COMPANY';
  var $hkp_PREF_AUTHOR_WEBSITE               = 'PREF_AUTHOR_WEBSITE';
  var $hkp_PREF_AUTHOR_EMAIL                 = 'PREF_AUTHOR_EMAIL';
  var $hkp_PREF_AUTHOR_COMMENTS              = 'PREF_AUTHOR_COMMENTS';
  
  var $hkp_PREF_DATETIME_FORMAT              = 'PREF_DATETIME_FORMAT';
  
  var $hkp_FILE_TYPE_FILTER_DOCS             = 'FILE_TYPE_FILTER_DOCS';
  var $hkp_FILE_TYPE_FILTER_IMAGES           = 'FILE_TYPE_FILTER_IMAGES';
  var $hkp_FILE_TYPE_FILTER_DEFAULT          = 'FILE_TYPE_FILTER_DEFAULT';
  
  var $hkp_PATH_ROOT                         = 'PATH_ROOT';
  var $hkp_PATH_PLUGINS                      = 'PATH_PLUGINS';
  var $hkp_PATH_LAST_OPEN                    = 'PATH_LAST_OPEN';
  var $hkp_PATH_LAST_SAVE                    = 'PATH_LAST_SAVE';
  var $hkp_PATH_SNIPPETS_DEFAULT             = 'PATH_SNIPPETS_DEFAULT';
  var $hkp_PATH_TEMPLATES_DEFAULT            = 'PATH_TEMPLATES_DEFAULT';
  var $hkp_PATH_SNIPPETS_USER                = 'PATH_SNIPPETS_USER';
  var $hkp_PATH_TEMPLATES_USER               = 'PATH_TEMPLATES_USER';
  var $hkp_PATH_PLUGINS_CONFIG               = 'PATH_PLUGINS_CONFIG';
  var $hkp_PATH_BACKUP                       = 'PATH_BACKUP';
  var $hkp_PATH_CACHE                        = 'PATH_CACHE';
  var $hkp_PATH_DATA                         = 'PATH_DATA';
  var $hkp_PATH_DATA_DEFAULT                 = 'PATH_DATA_DEFAULT';
  var $hkp_PATH_HELP                         = 'PATH_HELP';
  var $hkp_PATH_HELP_KEYWORDS                = 'PATH_HELP_KEYWORDS';
  var $hkp_PATH_HELP_CONTENT                 = 'PATH_HELP_CONTENT';
  var $hkp_PATH_PROOF                        = 'PATH_PROOF';
  var $hkp_PATH_TEMP                         = 'PATH_TEMP';
  var $hkp_PATH_BIN                          = 'PATH_BIN';
  var $hkp_PATH_LOGS_DEFAULT                 = 'PATH_LOGS_DEFAULT';
  var $hkp_PATH_LOGS_USER                    = 'PATH_LOGS_USER';
  
  var $hkp_PROXY_ADDRESS                     = 'PROXY_ADDRESS';
  var $hkp_PROXY_PORT                        = 'PROXY_PORT';
  var $hkp_PROXY_USERNAME                    = 'PROXY_USERNAME';
  var $hkp_PROXY_PASSWORD                    = 'PROXY_PASSWORD';
  var $hkp_SOCKS_ADDRESS                     = 'SOCKS_ADDRESS';
  var $hkp_SOCKS_PORT                        = 'SOCKS_PORT';
  var $hkp_SOCKS_USERNAME                    = 'SOCKS_USERNAME';
  var $hkp_SOCKS_PASSWORD                    = 'SOCKS_PASSWORD';
  
  
  // hkp_Func*() related definitions 
  
  var $hkp_FUNC_NAME                         = 'FUNC_NAME';
  var $hkp_FUNC_DEFINED                      = 'FUNC_DEFINED';
  var $hkp_FUNC_P1                           = 'FUNC_PARAM1';
  var $hkp_FUNC_P2                           = 'FUNC_PARAM2';
  var $hkp_FUNC_P3                           = 'FUNC_PARAM3';
  var $hkp_FUNC_P4                           = 'FUNC_PARAM4';
  var $hkp_FUNC_P5                           = 'FUNC_PARAM5';
  var $hkp_FUNC_P6                           = 'FUNC_PARAM6';
  var $hkp_FUNC_P7                           = 'FUNC_PARAM7';
  var $hkp_FUNC_P8                           = 'FUNC_PARAM8';
  var $hkp_FUNC_P9                           = 'FUNC_PARAM9';
  
  var $hkp_f_GetCurrDateTimeFmt              = 'GetCurrDateTimeFmt';
  var $hkp_f_GetUniqueName                   = 'GetUniqueName';
  var $hkp_f_SaveToTempFile                  = 'SaveToTempFile';
  var $hkp_f_SaveToFile                      = 'SaveToFile';
  var $hkp_f_LoadFromFile                    = 'LoadFromFile';
  var $hkp_f_ShellExecute                    = 'ShellExecute';
  var $hkp_f_DDEExecute                      = 'DDEExecute';
  var $hkp_f_ExecuteAndWait                  = 'ExecuteAndWait';
  var $hkp_f_httpPostMPFD                    = 'httpPostMPFD';
  var $hkp_f_OpenBrowser                     = 'OpenBrowser';
  var $hkp_f_GetTempFileName                 = 'GetTempFileName';
  var $hkp_f_GetTempFileNameExt              = 'GetTempFileNameExt';
  var $hkp_f_regexSplitExt                   = 'regexSplitExt';
  var $hkp_f_regexFound                      = 'regexFound';
  var $hkp_f_regexGather                     = 'regexGather';
  var $hkp_f_regexReplace                    = 'regexReplace';
  var $hkp_f_statbarPushMsg                  = 'statbarPushMsg';
  var $hkp_f_statbarPopMsg                   = 'statbarPopMsg';
  var $hkp_f_msgwinClearAll                  = 'msgwinClearAll';
  var $hkp_f_msgwinAdd                       = 'msgwinAdd';
  var $hkp_f_cmndlgOpen                      = 'cmndlgOpen';
  var $hkp_f_cmndlgSave                      = 'cmndlgSave';
  var $hkp_f_fileGetSize                     = 'fileGetSize';
  var $hkp_f_jpgGetImageInfo                 = 'jpgGetImageInfo';
  var $hkp_f_gifGetImageInfo                 = 'gifGetImageInfo';
  var $hkp_f_pngGetImageInfo                 = 'pngGetImageInfo';
  var $hkp_f_CaseTag                         = 'CaseTag';
  var $hkp_f_CaseAttr                        = 'CaseAttr';
  var $hkp_f_CaseValue                       = 'CaseValue';
  var $hkp_f_CaseEntity                      = 'CaseEntity';
  var $hkp_f_CaseEvent                       = 'CaseEvent';
  var $hkp_f_CaseProperty                    = 'CaseProperty';
  var $hkp_f_FormatQuote                     = 'FormatQuote';
  var $hkp_f_FormatColor                     = 'FormatColor';
  var $hkp_f_HKPEnableFastAdd                = 'HKPEnableFastAdd';
  var $hkp_f_InvokeMenuCommandByCaption      = 'InvokeMenuCommandByCaption';
  var $hkp_f_GetColor                        = 'GetColor';
  var $hkp_f_Unformat                        = 'Unformat';
  var $hkp_f_InvokeCommand                   = 'InvokeCommand';
  var $hkp_f_UI_GetFileName                  = 'UI_GetFileName';
  var $hkp_f_PluginDataWrite                 = 'PluginDataWrite';
  var $hkp_f_PluginDataRead                  = 'PluginDataRead';
  var $hkp_f_GetStyleCSS                     = 'GetStyleCSS';
  var $hkp_f_OpenFileEx                      = 'OpenFileEx';
  var $hkp_f_NewFile                         = 'NewFile';
  var $hkp_f_FormatETET                      = 'FormatETET';
  var $hkp_f_GetCursorXY                     = 'GetCursorXY';
  var $hkp_f_SetCursorXY                     = 'SetCursorXY';
  var $hkp_f_GetMarks                        = 'GetMarks';
  var $hkp_f_SetMarks                        = 'SetMarks';
  var $hkp_f_GetOpenFilesList                = 'GetOpenFilesList';
  var $hkp_f_GetSetFileContent               = 'GetSetFileContent';
  var $hkp_f_PluginCacheClear                = 'PluginCacheClear';
  var $hkp_f_TextToFile                      = 'TextToFile';
  var $hkp_f_Progress                        = 'Progress';
  var $hkp_f_FormatEqual                     = 'FormatEqual';
  var $hkp_f_FormatSpaceOpt                  = 'FormatSpaceOpt';
  var $hkp_f_FormatNewLineOpt                = 'FormatNewLineOpt';
  var $hkp_f_ShowHelp                        = 'ShowHelp';
  var $hkp_f_GetCalc                         = 'GetCalc';
  var $hkp_f_urlGetRelPath                   = 'urlGetRelPath';
  var $hkp_f_ProcessToken                    = 'ProcessToken';
  var $hkp_f_URL2File                        = 'URL2File';
  var $hkp_f_ShellLink                       = 'ShellLink';
  var $hkp_f_CopyColor                       = 'CopyColor';
  var $hkp_f_Clipboard                       = 'Clipboard';
  var $hkp_f_IconReplace                     = 'IconReplace';
  var $hkp_f_Speech                          = 'Speech';
  var $hkp_f_RichHint                        = 'RichHint';
  var $hkp_f_TimeTracker                     = 'TimeTracker';
  var $hkp_f_Desktop                         = 'Desktop';
  var $hkp_f_Buffer                          = 'Buffer';
  var $hkp_f_String                          = 'String';
  var $hkp_f_File                            = 'File';
  var $hkp_f_InputWizard                     = 'InputWizard';
  var $hkp_f_Preferences                     = 'Preferences';
  var $hkp_f_Recall                          = 'Recall';
  
  
  // Parameters used to report progress 
  
  var $hkp_STATUS_LINES_IN_CURRENT           = 'STATUS_LINES_IN_CURRENT';
  var $hkp_STATUS_LINES_IN_TOTAL             = 'STATUS_LINES_IN_TOTAL';
  var $hkp_STATUS_LINES_OUT_CURRENT          = 'STATUS_LINES_OUT_CURRENT';
  var $hkp_STATUS_LINES_OUT_TOTAL            = 'STATUS_LINES_OUT_TOTAL';
  var $hkp_STATUS_PERCENT_COMPLETED          = 'STATUS_PERCENT_COMPLETED';
  var $hkp_STATUS_ERRORS_COUNT               = 'STATUS_ERRORS_COUNT';
  var $hkp_STATUS_WARNINGS_COUNT             = 'STATUS_WARNINGS_COUNT';
  var $hkp_STATUS_PROGRESS_MESSAGE           = 'STATUS_PROGRESS_MESSAGE';
  var $hkp_STATUS_DIVIDER_LINES              = 'STATUS_DIVIDER_LINES';
  
  
  // Plugin specific definitions 
  
  var $hkp_c_PLUGIN_NAME_HTMLTIDY            = 'HTML Tidy';
  
  var $hkp_MODE_TIDY                         = 'MODE_TIDY';
  var $hkp_CONFIG_TIDY                       = 'CONFIG_TIDY';
  var $hkp_MESSAGES_TIDY                     = 'MESSAGES_TIDY';
  
  
  // Obsolete definition names 
  
  var $hkp_c_strTRUE                         = '1';
  var $hkp_c_strFALSE                        = '0';
  
  var $hkp_c_DefaultQuoteStr                 = '"';
  var $hkp_c_DefaultQuoteChar                = '"';


  function HKPCore()
  {
    $this->l_v = new COM( 'htmlkit.HTMLKitPluginsCore' );
  }

  function hkp_Quit()
  {
    $this->l_v = null;
  }

  function hkp_DataAdd( $sParam, $sValue )
  {
    return $this->l_v->hkp_DataAdd( $sParam, $sValue );
  }

  function hkp_DataAddInt( $sParam, $nValue )
  {
    return $this->l_v->hkp_DataAddInt( $sParam, $nValue );
  }

  function hkp_DataSetGlobalSuffix( $sSuffix )
  {
    return $this->l_v->hkp_DataSetGlobalSuffix( $sSuffix );
  }

  function hkp_DataSetGlobalPrefix( $sPrefix )
  {
    return $this->l_v->hkp_DataSetGlobalPrefix( $sPrefix );
  }

  function hkp_DataFound( $sParam )
  {
    return $this->l_v->hkp_DataFound( $sParam );
  }

  function hkp_DataGet( $sParam, &$psValue )
  {
    $nResult = $this->l_v->hkp_DataFound( $sParam );
    if( $nResult )
    {
      $psValue = $this->l_v->hkp_DataGetStr( $sParam );
    }
    return $nResult;
  }

  function hkp_DataGetInt( $sParam, $nDefaultValue )
  {
    return $this->l_v->hkp_DataGetInt( $sParam, $nDefaultValue );
  }

  function hkp_DataGetStr( $sParam, $sDefaultValue )
  {
    return $this->l_v->hkp_DataGetStr( $sParam, $sDefaultValue );
  }

  function hkp_FuncOpen( $sName )
  {
    return $this->l_v->hkp_FuncOpen( $sName );
  }

  function hkp_FuncRun()
  {
    return $this->l_v->hkp_FuncRun();
  }

  function hkp_FuncClose()
  {
    return $this->l_v->hkp_FuncClose();
  }
}


function hkp_CreateObjectHKPCore()
{
  return new COM( 'htmlkit.HTMLKitPluginsCore' );
}

function hkp_Quit( $v )
{
  $v = null;
  return 1;
}

function hkp_mode_register()
{
  global $argv;

  return
    ( (strlen($argv[1]) > 0) && ('-hkpreg' == $argv[1]) ) ||
    ( (0 == strlen($argv[1])) && ('-hkpreg' == getenv('HKPCORE_PLUGIN_INVOKE_MODE_ENV')) );
}

function hkp_mode_run()
{
  global $argv;

  return
    ( (strlen($argv[1]) > 0) && ('-hkprun' == $argv[1]) ) ||
    ( (0 == strlen($argv[1])) && ('-hkprun' == getenv('HKPCORE_PLUGIN_INVOKE_MODE_ENV')) );
}

function __hkp_DataGetStr( $v, $sParamName, $sValueOut )
{
  $nResult = $v->hkp_DataFound( $sParamName );
  if( $nResult )
  {
    $sValueOut = $v->hkp_DataGetStr( $sParamName );
  }
  return $nResult;
}



//
//   --- History ---
//   31-Jul-2002: Version 1.0.50 / Build 292 Alpha 4 (20020731)
//     + hkp_MODE_BUFFER_FILETYPES_INCLUDED,
//       hkp_MODE_BUFFER_FILETYPES_EXCLUDED
// 
//   30-Jul-2002: Version 1.0.49 / Build 292 Alpha 4 (20020730)
//     + hkp_MODE_INFO_KEYWORDS,
//       hkp_c_Section_BatchActions
// 
//   30-Jul-2002: Version 1.0.48 / Build 292 Alpha 4 (20020729)
//     + hkp_BUFFER_PARAM_HINT1,
//       hkp_BUFFER_PARAM_HINT2,
//       hkp_BUFFER_PARAM_HINT3,
//       hkp_BUFFER_PARAM_HINT4
// 
//   28-Jul-2002: Version 1.0.47 / Build 292 Alpha 4 (20020728)
//     + hkp_MODE_BUFFER_FILTER_REGEX_EXPR,
//       hkp_MODE_BUFFER_FILTER_REGEX_OPT
// 
//   27-Jul-2002: Version 1.0.46 / Build 292 Alpha 4 (20020726)
//     + hkp_MODE_BUFFER_CACHE_PLUGIN_DISABLE,
//       hkp_MODE_BUFFER_INFO_PLUGIN_FULL,
//       hkp_MODE_BUFFER_INFO_USER_HIDE
// 
//   24-Jul-2002: Version 1.0.45 / Build 292 Alpha 4 (20020724)
//     + hkp_BuffLen,
//       hkp_BuffCopy
// 
//   20-Jul-2002: Version 1.0.44 / Build 292 Alpha 4 (20020720)
//     + hkp_CAPABILITY_AUTORESIZINGMENU
// 
//   06-Jul-2002: Version 1.0.43 / Build 292 Alpha 4 (20020706)
//     + hkp_MODE_UNINSTALL,
//       hkp_UNINSTALL_FILE_ABS,
//       hkp_UNINSTALL_FILE_REL,
//       hkp_UNINSTALL_FILE_REL_PLUGINS,
//       hkp_UNINSTALL_FILE_REL_PLUGINS_CONFIG,
//       hkp_UNINSTALL_FILE_REL_PLUGINS_BIN,
//       hkp_UNINSTALL_FILE_REL_PLUGINS_LIB,
//       hkp_UNINSTALL_DIR_ABS,
//       hkp_UNINSTALL_DIR_REL_PLUGINS_CONFIG,
//       hkp_UNINSTALL_REG_ABS,
//       hkp_UNINSTALL_REG_REL,
//       hkp_UNINSTALL_EVENT_ONINVOKE,
//       hkp_c_Uninstall_Event_OnInvoke,
//       hkp_CAPABILITY_UNINSTALL,
//       hkp_MODE_BUFFER_VISIBLE_MAINMENU,
//       hkp_MODE_BUFFER_VISIBLE_WORKSPACE,
//       hkp_MODE_BUFFER_ACCESS_READ,
//       hkp_MODE_BUFFER_ACCESS_WRITE,
//       hkp_MODE_BUFFER_ACCESS_CREATE,
//       hkp_LICENSE_TYPE,
//       hkp_LICENSE_DESCRIPTION,
//       hkp_LICENSE_URL,
//       hkp_REGISTRATION_TYPE,
//       hkp_REGISTRATION_DESCRIPTION,
//       hkp_REGISTRATION_FEE,
//       hkp_REGISTRATION_URL,
//       hkp_URL_HELP
// 
// 
//   20-May-2002: Version 1.0.42 / Build 292 Alpha 4 (20020520)
//     + hkp_f_Recall,
//       hkp_UPID,
//       hkp_RECALL_EVENT_ONINVOKE,
//       hkp_RECALL_IN_DATA1,
//       hkp_RECALL_IN_DATA2,
//       hkp_c_Recall_Event_OnInvoke,
//       hkp_CAPABILITY_RECALL
// 
//   11-May-2002: Version 1.0.41 / Build 292 Alpha 4 (20020511)
//     + hkp_f_InputWizard,
//       hkp_f_Preferences
// 
//   24-Apr-2002: Version 1.0.40 / Build 292 Alpha 3 (20020424)
//     + hkp_DRAGDROP_ACCEPT_FILEMASKS,
//       hkp_DRAGDROP_ACCEPT_MODES,
//       hkp_MODE_DRAGDROP_IN_SOURCE_FILE_LOCAL,
//       hkp_DRAGDROP_EVENT_ONDROP,
//       hkp_DRAGDROP_OUTPUT,
//       hkp_DRAGDROP_IN_MODE,
//       hkp_DRAGDROP_IN_SOURCE_FILE_PATH_ABS,
//       hkp_DRAGDROP_IN_SOURCE_FILE_PATH_REL,
//       hkp_DRAGDROP_IN_SOURCE_FILE_NAME_EXT,
//       hkp_DRAGDROP_IN_SOURCE_FILE_NAME_FULL,
//       hkp_DRAGDROP_IN_SOURCE_PATH_ABS,
//       hkp_DRAGDROP_IN_SOURCE_PATH_REL,
//       hkp_DRAGDROP_IN_SOURCE_FILE_LOCAL,
//       hkp_c_DragDrop_Event_OnDrop,
//       hkp_c_DragDrop_Mode_Workspace,
//       hkp_CAPABILITY_DRAGDROP,
//       hkp_f_File
// 
//   09-Apr-2002: Version 1.0.39 / Build 292 Alpha 3 (20020409)
//     + hkp_f_String
// 
//   04-Apr-2002: Version 1.0.38 / Build 292 Alpha 3 (20020404)
//     + hkp_BUFFER_PARAM_LABEL1,
//       hkp_BUFFER_PARAM_LABEL2,
//       hkp_BUFFER_PARAM_LABEL3,
//       hkp_BUFFER_PARAM_LABEL4,
//       hkp_BUFFER_PARAM_VALUE1,
//       hkp_BUFFER_PARAM_VALUE2,
//       hkp_BUFFER_PARAM_VALUE3,
//       hkp_BUFFER_PARAM_VALUE4,
//       hkp_MODE_SESSION_ENABLE,
//       hkp_BUFFER_REPORT_OUTPUT,
//       hkp_SESSION_VAR_COUNT,
//       hkp_SESSION_VAR1,
//       hkp_SESSION_VAR2,
//       hkp_SESSION_VAR3,
//       hkp_SESSION_VAR4,
//       hkp_SESSION_FRIENDS
// 
//   28-Mar-2002: Version 1.0.37 / Build 292 Alpha 3 (20020328)
//     + hkp_BUFFER_CAPTION,
//       hkp_BUFFER_HINT,
//       hkp_BUFFER_EVENT_ONINVOKE,
//       hkp_BUFFER_EVENT_ONSTART,
//       hkp_BUFFER_EVENT_ONEND,
//       hkp_BUFFER_EVENT_ONENTERFOLDER,
//       hkp_BUFFER_EVENT_ONEXITFOLDER,
//       hkp_c_Buffer_Event_OnInvoke,
//       hkp_c_Buffer_Event_OnStart,
//       hkp_c_Buffer_Event_OnEnd,
//       hkp_c_Buffer_Event_OnEnterFolder,
//       hkp_c_Buffer_Event_OnExitFolder,
//       hkp_CAPABILITY_BUFFER,
//       hkp_MODE_BUFFER_IN_FILE,
//       hkp_MODE_BUFFER_IN_CONTENT,
//       hkp_BUFFER_IN_FILE,
//       hkp_BUFFER_IN_CONTENT,
//       hkp_BUFFER_IN_PATH,
//       hkp_BUFFER_IN_DEPTH,
//       hkp_f_Buffer,
//       hkp_BUFFER_IN_PARAM1,
//       hkp_BUFFER_IN_PARAM2,
//       hkp_BUFFER_IN_PARAM3,
//       hkp_BUFFER_IN_PARAM4
// 
//   25-Mar-2002: Version 1.0.36 / Build 292 Alpha 3 (20020326)
//     + hkp_f_Desktop,
//       hkp_TEMPLATEWIZARD_CAPTION,
//       hkp_TEMPLATEWIZARD_HINT,
//       hkp_TEMPLATEWIZARD_EVENT_ONINVOKE,
//       hkp_c_TemplateWizard_Event_OnInvoke,
//       hkp_CAPABILITY_TEMPLATEWIZARD
// 
//   14-Mar-2002: Version 1.0.35 / Build 292 Alpha 3 (20020314)
//     + hkp_f_TimeTracker,
//       hkp_PATH_LOGS_DEFAULT,
//       hkp_PATH_LOGS_USER
// 
//   10-Mar-2002: Version 1.0.34 / Build 292 Alpha 3 (20020310)
//     + hkp_f_RichHint
// 
//   03-Mar-2002: Version 1.0.33 / Build 292 Alpha 3 (20020304)
//     + hkp_DROPDOWN_ITEM_PHRASE,
//       hkp_f_Speech,
//       hkp_CAPABILITY_TEXTTOSPEECH,
//       hkp_CAPABILITY_SPEECHRECOGNITION
// 
//   02-Mar-2002: Version 1.0.32 / Build 292 Alpha 3 (20020302)
//     + hkp_COMMANDPROMPT_EVENT_ONINVOKE,
//       hkp_c_CommandPrompt_Event_OnInvoke,
//       hkp_COMMANDPROMPT_HINT,
//       hkp_COMMANDPROMPT_HELP,
//       hkp_COMMANDPROMPT_COMMANDS,
//       hkp_COMMANDPROMPT_OUTPUT,
//       hkp_COMMANDPROMPT_HANDLED,
//       hkp_COMMANDPROMPT_IN_CMDLINE_FULL,
//       hkp_COMMANDPROMPT_IN_CMDLINE_COMMAND,
//       hkp_COMMANDPROMPT_IN_CMDLINE_PARAMS,
//       hkp_COMMANDPROMPT_IN_CMDLINE_PARAM,
//       hkp_CAPABILITY_COMMANDPROMPT
// 
//   03-Feb-2002: Version 1.0.31 / Build 292 Alpha 2 (20020103)
//     + hkp_ICON_SHARED_INDEX,
//       hkp_CAPABILITY_CONTEXTMENU_EDITOR,
//       hkp_MODE_CONTEXTMENU_EDITOR_PRELOAD,
//       hkp_CONTEXTMENU_EDITOR_HINT_INIT,
//       hkp_CONTEXTMENU_EDITOR_HINT_QUIT,
//       hkp_f_IconReplace,
//       hkp_c_MODE_ICON_DRAW
// 
//   28-Jan-2002: Version 1.0.30 / Build 292 Alpha 2 (20020128)
//     + hkp_f_CopyColor,
//       hkp_f_Clipboard
// 
//   27-Jan-2002: Version 1.0.29 / Build 292 Alpha 2 (20020127)
//     + hkp_ICON_INDEX,
//       hkp_f_ShellLink,
//       hkp_CONTEXTMENU_EDITOR_EVENT_ONINIT,
//       hkp_CONTEXTMENU_EDITOR_EVENT_ONOPEN,
//       hkp_CONTEXTMENU_EDITOR_EVENT_ONCLOSE,
//       hkp_CONTEXTMENU_EDITOR_EVENT_ONCLICK,
//       hkp_c_ContextMenu_Editor_Event_OnInit,
//       hkp_c_ContextMenu_Editor_Event_OnOpen,
//       hkp_c_ContextMenu_Editor_Event_OnClose,
//       hkp_c_ContextMenu_Editor_Event_OnClick,
//       hkp_CONTEXTMENU_EDITOR_VISIBLE,
//       hkp_CONTEXTMENU_EDITOR_ENABLED,
//       hkp_CONTEXTMENU_EDITOR_SECTION,
//       hkp_CONTEXTMENU_EDITOR_HINT,
//       hkp_CONTEXTMENU_EDITOR_ICONINDEX,
//       hkp_CONTEXTMENU_EDITOR_ITEM,
//       hkp_CONTEXTMENU_EDITOR_ITEM_HINT,
//       hkp_CONTEXTMENU_EDITOR_ITEM_DATA,
//       hkp_CONTEXTMENU_EDITOR_ITEM_ICONINDEX,
//       hkp_CONTEXTMENU_EDITOR_ITEM_ENABLED
// 
//   09-Jan-2002: Version 1.0.28 / Build 292 Alpha 2 (20020109)
//     + hkp_MODE_PREVIEW_PASS_TO_NEXT,
//       hkp_MODE_PREVIEW_IN_URL,
//       hkp_MODE_PREVIEW_IN_CONTENT,
//       hkp_PREVIEW_IN_URL,
//       hkp_PREVIEW_IN_CONTENT
//     * renamed hkp_PREVIEW_SOURCE_URL to hkp_PREVIEW_OUTPUT_URL
//     * renamed hkp_PREVIEW_SOURCE_CONTENT to hkp_PREVIEW_OUTPUT_CONTENT
// 
//   05-Jan-2002: Version 1.0.27 / Build 292 Alpha 2 (20020105)
//     + hkp_BUTTON_VISIBLE,
//       hkp_PREVIEW_EVENT_ONPREVIEW,
//       hkp_c_Preview_Event_OnPreview,
//       hkp_PREVIEW_SOURCE_URL,
//       hkp_PREVIEW_SOURCE_CONTENT
// 
//   03-Jan-2002: Version 1.0.26 / Build 292 Alpha 2 (20020103)
//     * "added hkp_Found() and hkp_DataGetStr() to Java and C# classes"
//     * "added hkp_Quit() to the Perl module"
// 
//   20-Dec-2001: Version 1.0.25 / Build 292 Alpha 1 (20011220)
//     * "created HKPCore class for Python"
//     * "created HKPCore class for PHP"
//     * "made $hkp_* parameters members of the Ruby class"
// 
//   18-Dec-2001: Version 1.0.24 / Build 292 Alpha 1 (20011218)
//     * "support for writing plugins in Ruby"
// 
//   15-Dec-2001: Version 1.0.23 / Build 292 Alpha 1 (20011215)
//     + hkp_HKPCORE_PLUGIN_INVOKE_MODE_ENV
//     * "support for writing plugins in Python"
// 
//   14-Dec-2001: Version 1.0.22 / Build 292 Alpha 1 (20011214)
//     * "support for writing plugins in PHP"
// 
//   12-Dec-2001: Version 1.0.21 / Build 292 Alpha 1 (20011212)
//     + hkp_PREF_FORMAT_ALT
// 
//   29-Nov-2001: Version 1.0.20 / Build 292 Alpha 1 (20011129)
//     + hkp_SOCKS_ADDRESS, 
//       hkp_SOCKS_PORT,
//       hkp_SOCKS_USERNAME, 
//       hkp_SOCKS_PASSWORD
// 
//   01-Nov-2000: Version 1.0.19 / Build 290 Alpha 11 (20001101)
//     * "renamed hkp_f_jpgGetSize to hkp_f_jpgGetImageInfo"
//     * "renamed hkp_f_gifGetSize to hkp_f_gifGetImageInfo"
//     + hkp_f_pngGetImageInfo,
//       hkp_f_URL2File,
//       hkp_MODE_IN_LINE_AT_CURSOR,
//       hkp_INPUT_LINE_AT_CURSOR,
//       hkp_c_MODE_OUTPUT_CURRENTLINE,
//       hkp_MODE_EGG
// 
//   15-Jul-2000: Version 1.0.18 / Build 290 Alpha 11 (20000715)
//     * "renamed hkp_c_ColorCode to hkp_c_ColorHex6"
//     * "renamed hkp_f_jpgGetWidthHeight to hkp_f_jpgGetSize"
//     - hkp_ProcAddr_TextToFile
//     + hkp_ProcAddr_Reserved,
//       hkp_c_ColorRGB,
//       hkp_c_ColorRGBPercent,
//       hkp_c_ColorHex3,
//       hkp_c_FormatTag_ColorExt,
//       hkp_c_Section_Online,
//       hkp_c_EqualDefault,
//       hkp_c_EqualSpaceNone,
//       hkp_c_EqualSpaceLeft,
//       hkp_c_EqualSpaceRight,
//       hkp_c_EqualSpaceBoth,
//       hkp_c_SpaceOptDefault,
//       hkp_c_SpaceOptInclude,
//       hkp_c_SpaceOptExclude,
//       hkp_c_NewLineOptDefault,
//       hkp_c_NewLineOptInclude,
//       hkp_c_NewLineOptExclude,
//       hkp_c_FormatTag_Equal,
//       hkp_c_FormatTag_SpaceOpt,
//       hkp_c_FormatTag_NewLineOpt,
//       hkp_c_str_DefaultEqual,
//       hkp_c_chr_DefaultEqual,
//       hkp_c_str_DefaultSpaceOpt,
//       hkp_c_chr_DefaultSpaceOpt,
//       hkp_c_str_DefaultNewLineOpt,
//       hkp_c_chr_DefaultNewLineOpt,
//       hkp_c_str_TRUE,
//       hkp_c_str_FALSE,
//       hkp_c_str_DefaultQuote,
//       hkp_c_chr_DefaultQuote,
//       hkp_DROPDOWN_ITEM_HINT,
//       hkp_DROPDOWN_ITEM_ICON,
//       hkp_f_GetCursorXY,
//       hkp_f_SetCursorXY,
//       hkp_f_GetMarks,
//       hkp_f_SetMarks,
//       hkp_f_GetOpenFilesList,
//       hkp_f_GetSetFileContent,
//       hkp_f_PluginCacheClear,
//       hkp_f_TextToFile,
//       hkp_f_Progress,
//       hkp_f_FormatEqual,
//       hkp_f_FormatSpaceOpt,
//       hkp_f_FormatNewLineOpt,
//       hkp_f_ShowHelp,
//       hkp_f_jpgGetSize,
//       hkp_f_gifGetSize,
//       hkp_f_GetCalc,
//       hkp_f_urlGetRelPath,
//       hkp_f_ProcessToken,
//       hkp_PLUGIN_FILE,
//       hkp_PROGRAM_HANDLE,
//       hkp_VER_TIMESTAMP,
//       hkp_VER_TYPE,
//       hkp_VER_RELEASE_ID,
//       hkp_MODE_APPEARANCE_ICONS,
//       hkp_MODE_EDITOR_REQUIRED,
//       hkp_EDITOR_AVAILABLE,
//       hkp_APPEARANCE_NAME,
//       hkp_PREF_DATETIME_FORMAT,
//       hkp_MODE_END_GROUP,
//       hkp_LABEL_VISIBLE,
//       hkp_LABEL_WIDTH,
//       hkp_LABEL_WIDTH_CHAR,
//       hkp_LABEL_HINT,
//       hkp_LABEL_TEXT,
//       hkp_LABEL_ALIGNMENT,
//       hkp_LABEL_STYLE,
//       hkp_LABEL_DIRTY,
//       hkp_LABEL_HANDLE,
//       hkp_LABEL_EVENT_ONCLICK,
//       hkp_LABEL_EVENT_ONDBLCLICK,
//       hkp_LABEL_EVENT_ONMOUSEDOWN,
//       hkp_COMBOBOX_VISIBLE,
//       hkp_COMBOBOX_WIDTH,
//       hkp_COMBOBOX_WIDTH_CHAR,
//       hkp_COMBOBOX_DROPDOWN_COUNT,
//       hkp_COMBOBOX_HINT,
//       hkp_COMBOBOX_STYLE,
//       hkp_COMBOBOX_SORTED,
//       hkp_COMBOBOX_TEXT,
//       hkp_COMBOBOX_CHAR_MAX,
//       hkp_COMBOBOX_DIRTY,
//       hkp_COMBOBOX_HANDLE,
//       hkp_COMBOBOX_ITEMS_GET,
//       hkp_COMBOBOX_ITEMS_COUNT,
//       hkp_COMBOBOX_ITEMS_CURR_INDEX,
//       hkp_COMBOBOX_ITEMS_CURR_TEXT,
//       hkp_COMBOBOX_ITEMS_CURR_DATA,
//       hkp_COMBOBOX_ITEMS_DELETE_ALL,
//       hkp_COMBOBOX_ITEMS_INSERT_TOP,
//       hkp_COMBOBOX_ITEMS_IGNORE_DUPLICATES,
//       hkp_COMBOBOX_ITEM,
//       hkp_COMBOBOX_ITEM_DATA,
//       hkp_COMBOBOX_EVENT_ONCHANGE,
//       hkp_COMBOBOX_EVENT_ONDROPDOWN,
//       hkp_COMBOBOX_EVENT_ONCLICK,
//       hkp_COMBOBOX_EVENT_ONKEYPRESS,
//       hkp_COMBOBOX_EVENT_ONMOUSEDOWN,
//       hkp_COMBOBOX_KEYPRESS_FILTER,
//       hkp_EDITFIELD_VISIBLE,
//       hkp_EDITFIELD_WIDTH,
//       hkp_EDITFIELD_WIDTH_CHAR,
//       hkp_EDITFIELD_HINT,
//       hkp_EDITFIELD_TEXT,
//       hkp_EDITFIELD_CHAR_MAX,
//       hkp_EDITFIELD_DIRTY,
//       hkp_EDITFIELD_HANDLE,
//       hkp_EDITFIELD_EVENT_ONCHANGE,
//       hkp_EDITFIELD_EVENT_ONKEYPRESS,
//       hkp_EDITFIELD_EVENT_ONMOUSEDOWN,
//       hkp_EDITFIELD_KEYPRESS_FILTER,
//       hkp_c_Button_Event_OnClick,
//       hkp_c_Menu_Event_OnClick,
//       hkp_c_Label_Event_OnClick,
//       hkp_c_Label_Event_OnDblClick,
//       hkp_c_Label_Event_OnMouseDown,
//       hkp_c_Label_Alignment_Left,
//       hkp_c_Label_Alignment_Center,
//       hkp_c_Label_Alignment_Right,
//       hkp_c_Label_GetData,
//       hkp_c_Label_SetData,
//       hkp_c_ComboBox_Event_OnChange,
//       hkp_c_ComboBox_Event_OnDropDown,
//       hkp_c_ComboBox_Event_OnClick,
//       hkp_c_ComboBox_Event_OnKeyPress,
//       hkp_c_ComboBox_Event_OnMouseDown,
//       hkp_c_ComboBox_Style_DropDown,
//       hkp_c_ComboBox_Style_DropDownList,
//       hkp_c_ComboBox_Style_Simple,
//       hkp_c_ComboBox_GetData,
//       hkp_c_ComboBox_SetData,
//       hkp_c_EditField_Event_OnChange,
//       hkp_c_EditField_Event_OnKeyPress,
//       hkp_c_EditField_Event_OnMouseDown,
//       hkp_c_EditField_GetData,
//       hkp_c_EditField_SetData,
//       hkp_MODE_FOCUS_EDITOR,
//       hkp_ARGV2,
//       hkp_ARGV3,
//       hkp_ARGV4,
//       hkp_ARGV5,
//       hkp_EVENT,
//       HKP_UINT16,
//       HKP_INT32,
//       HKP_INT64
// 
//   10-Jun-2000: Version 1.0.17 / Build 290 Alpha 11 (20000701)
//     + hkp_c_OLEObj_HKPCore
// 
//   10-Jun-2000: Version 1.0.16 / Build 290 Alpha 11 (20000610)
//     + hkp_PATH_SNIPPETS_DEFAULT,
//       hkp_PATH_TEMPLATES_DEFAULT,
//       hkp_PATH_SNIPPETS_USER,
//       hkp_PATH_TEMPLATES_USER,
//       hkp_PATH_PLUGINS_CONFIG,
//       hkp_PATH_BACKUP,
//       hkp_PATH_CACHE,
//       hkp_PATH_DATA,
//       hkp_PATH_DATA_DEFAULT,
//       hkp_PATH_HELP,
//       hkp_PATH_HELP_KEYWORDS,
//       hkp_PATH_HELP_CONTENT,
//       hkp_PATH_PROOF,
//       hkp_PATH_TEMP,
//       hkp_PATH_BIN,
//       hkp_c_FormatTag_ETET,
//       hkp_c_ETETDefault,
//       hkp_c_ETETInclSpc,
//       hkp_c_ETETExclSpc,
//       hkp_c_str_ETETInclSpc,
//       hkp_c_str_ETETExclSpc,
//       hkp_f_FormatETET,
//       hkp_PREF_FORMAT_ETET,
//       hkp_PREF_FORMAT_ETET_SKIP_OPTIONAL
// 
//   29-Apr-2000: Version 1.0.15 / Build 290 Beta 10
//     + hkp_MODE_PLUGIN_CACHE,
//       hkp_c_MODE_PLUGIN_CACHE_NONE,
//       hkp_c_MODE_PLUGIN_CACHE_ALL,
//       hkp_c_MODE_ICON_BUILTIN,
//       hkp_c_Section_Style,
//       hkp_EDITOR_WINDOW_HANDLE,
//       hkp_f_UI_GetFileName,
//       hkp_f_PluginDataWrite,
//       hkp_f_PluginDataRead,
//       hkp_f_GetStyleCSS,
//       hkp_f_OpenFileEx,
//       hkp_f_NewFile,
//       hkp_COMMAND_BUILTIN
//     * "Changed default value for hkp_MODE_SHOW_STATUS to hkp_c_FALSE"
//     * "Set default value for hkp_MODE_CONSOLE to hkp_c_strTRUE"
//     * "Set default value for hkp_MODE_PLUGIN_CACHE to hkp_c_MODE_PLUGIN_CACHE_ALL"
// 
//   30-Mar-2000: Version 1.0.14 / Build 290 Beta 9
//     + hkp_c_MODE_OUTPUT_EDITOR_NEW,
//       hkp_f_InvokeCommand
// 
//   13-Feb-2000: Version 1.0.13 / Build 290 Beta 8
//     + hkp_MODE_BEGIN_GROUP
// 
//   03-Feb-2000: Version 1.0.12 / Build 290 Beta 7
//     + hkp_FILE_DISP_NAME, 
//       hkp_FILE_DISP_NAME_SHORT
// 
//   05-Dec-1999: Version 1.0.11 / Build 286
//     + hkp_f_HKPEnableFastAdd, 
//       hkp_f_InvokeMenuCommandByCaption,
//       hkp_f_FormatColor, 
//       hkp_PREF_FORMAT_COLOR,
//       hkp_c_ColorDefault,
//       hkp_c_ColorCode,
//       hkp_c_ColorName,
//       hkp_c_FormatTag_Color, 
//       hkp_f_GetColor, 
//       hkp_f_Unformat
// 
//   30-Oct-1999: Version 1.0.10 / Build 282
//     + hkp_c_FormatTag_Token, 
//       hkp_PREF_FORMAT_QUOTE_SKIP_OPTIONAL,
//       hkp_c_DefaultQuoteChar, 
//       hkp_c_DefaultQuoteStr,
//       hkp_c_FormatTag_QuoteReq, 
//       hkp_c_FormatTag_QuoteOpt,
//       hkp_f_FormatQuote, 
//       hkp_PREF_FORMAT_QUOTE,
//       hkp_c_QuoteDefault, 
//       hkp_c_QuoteSingle,
//       hkp_c_QuoteDouble
// 
//   23-Oct-1999: Version 1.0.9 / Build 280
//     * "Changed hkp_c_CaseNoPref to hkp_c_CaseDefault"
//     * "Changed hkp_PREF_CASE_TAGS to hkp_PREF_CASE_TAG"
//     + hkp_f_CaseEvent, 
//       hkp_f_CaseProperty,
//       hkp_PREF_CASE_VALUE, 
//       hkp_PREF_CASE_ENTITY,
//       hkp_PREF_CASE_EVENT, 
//       hkp_PREF_CASE_PROPERTY,
//       hkp_PREF_AUTHOR_NAME, 
//       hkp_PREF_AUTHOR_COMPANY,
//       hkp_PREF_AUTHOR_WEBSITE, 
//       hkp_PREF_AUTHOR_EMAIL,
//       hkp_PREF_AUTHOR_COMMENTS, 
//       hkp_MODE_PREPROCESS_FORMAT_TAGS,
//       hkp_c_FormatTag_NormalText, 
//       hkp_c_FormatTag_Tag,
//       hkp_c_FormatTag_Attr, 
//       hkp_c_FormatTag_Value,
//       hkp_c_FormatTag_Entity, 
//       hkp_c_FormatTag_Event,
//       hkp_c_FormatTag_Property
// 
//   11-Oct-1999: Version 1.0.8 / Build 278
//     + hkp_MODE_ADD_MENU_SHORTCUTS, 
//       hkp_MODE_ICON,
//       hkp_c_MODE_ICON_RES, 
//       hkp_c_MODE_ICON_DATA,
//       hkp_c_MODE_ICON_FILE,
//       hkp_f_CaseTag, 
//       hkp_f_CaseAttr,
//       hkp_f_CaseValue,
//       hkp_f_CaseEntity
// 
//   30-Aug-1999: Version 1.0.7 / Build 266
//     * "Changed hkp_STATUS_OUTLINESCOUNT to hkp_STATUS_LINES_OUT_CURRENT"
//     + hkp_STATUS_LINES_IN_CURRENT, 
//       hkp_STATUS_LINES_IN_TOTAL,
//       hkp_STATUS_LINES_OUT_TOTAL, 
//       hkp_STATUS_PERCENT_COMPLETED,
//       hkp_STATUS_ERRORS_COUNT,
//       hkp_STATUS_WARNINGS_COUNT,
//       hkp_STATUS_PROGRESS_MESSAGE, 
//       hkp_c_MODE_OUTPUT_EDITOR
// 
//   15-Jul-1999: Version 1.0.6 / Build 252
//     + hkp_OWNER_WINDOW_HANDLE,
//       hkp_MODE_DEBUG_PLUGIN,
//       hkp_PREF_SHORT_MENUS, 
//       hkp_PREF_MENU_HEIGHT,
//       hkp_PREF_CASE_TAGS, 
//       hkp_PREF_CASE_ATTR,
//       hkp_FILE_TYPE_FILTER_DOCS, 
//       hkp_FILE_TYPE_FILTER_IMAGES,
//       hkp_FILE_TYPE_FILTER_DEFAULT,
//       hkp_PATH_ROOT, 
//       hkp_PATH_PLUGINS,
//       hkp_PATH_LAST_OPEN, 
//       hkp_PATH_LAST_SAVE,
//       hkp_PROXY_ADDRESS, 
//       hkp_PROXY_PORT,
//       hkp_PROXY_USERNAME, 
//       hkp_PROXY_PASSWORD,
//       hkp_c_CaseUpper, 
//       hkp_c_CaseLower, 
//       hkp_c_CaseNoPref
// 
//   02-Jul-1999: Version 1.0.4 / Build 250
//     + HKP_m_Add_NameVerSectDescHint,
//       HKP_m_Add_NameVerSectDescHintIcon,
//       hkp_f_regexReplace,
//       hkp_MODE_IN_TAG_AT_CURSOR, 
//       hkp_c_MODE_OUTPUT_CURRENTWORD, 
//       hkp_c_MODE_OUTPUT_CURRENTTAG, 
//       hkp_INPUT_TAG_AT_CURSOR,
//       hkp_f_statbarPushMsg, 
//       hkp_f_statbarPopMsg, 
//       hkp_f_msgwinClearAll,
//       hkp_f_msgwinAdd
// 
//   26-Jun-1999: Version 1.0.3 / Build 250
//     + hkp_MODE_IN_FILE, 
//       hkp_INPUT_FILE, 
//       hkp_MODE_IN_FILE_EXT, 
//       hkp_MODE_IN_FILE_DELETE, 
//       hkp_f_httpPostMPFD, 
//       hkp_f_OpenBrowser, 
//       hkp_f_GetTempFileName,
//       hkp_f_GetTempFileNameExt, 
//       hkp_f_regexSplitExt, 
//       hkp_f_regexFound, 
//       hkp_f_regexGather
// 


?>
